package com.zucc.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 12:48 下午
 */
@Data
@ApiModel("新增字典参数")
public class DictAddReq {

    @ApiModelProperty(value = "字典类型（驼峰命名），如：sysType", required = true)
    @NotNull(message = "字典项值不能为空")
    private String type;

    @ApiModelProperty(value = "字典名称", required = true)
    @NotNull(message = "字典名称不能为空")
    private String name;

}
